#!/usr/bin/python


import tasks

f = open("tasks.dat", "r")
t = tasks.Task("Dummy")
t = t.fromArray(eval(f.read()))
f.close()

t.deleteChecked()
f = open("tasks.dat", "w")
f.write(str(t.toArray()))
f.close()
